package org.anjan.dp.strategy.impl.ducks;

import org.anjan.dp.strategy.Duck;
import org.anjan.dp.strategy.impl.fly.FlyNoWay;
import org.anjan.dp.strategy.impl.quack.Quack;

/**
 * Created by chebbaso on 12/4/14.
 */
public class ModelDuck extends Duck {
    public ModelDuck() {
        this.flyBehavior = new FlyNoWay();
        this.quackBehavior = new Quack();
    }

    @Override
    public void display() {
        System.out.println("org.anjan.dp.strategy.impl.ducks.ModelDuck.display");
    }
}
